import request from '@/utils/request'

export default {
  permission() {
    return request.get('/admin/acl/permission')
  },
  save(menu) {
    return request.post('/admin/acl/permission/save', menu)
  },
  remove(id) {
    return request.delete(`/admin/acl/permission/remove/${id}`)
  },
  update(menu) {
    return request.put('/admin/acl/permission/update', menu)
  }
}